package com.zy.yun;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Auther: wangyanwei
 * @Date: 2019/9/11 16:54
 * @Description:
 */
@SpringBootApplication
@MapperScan("com.zy.yun.provider.dao")
@EnableSwagger2 //开启在线接口文档
@EnableEurekaClient
//@EnableDiscoveryClient
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}
